Skip to main content
This forum is closed to new posts and responses. Individual names altered for privacy purposes. The information contained in this website is provided for informational purposes only and should not be construed as a forum for customer support requests. Any customer support requests should be directed to the official HCL customer support channels below:

HCL Software Customer Support Portal for U.S. Federal Government clients
HCL Software Customer Support Portal

Notes/Domino 6 and 7 Forum

Notes/Domino 6 and 7 Forum


  

PreviousPrevious NextNext

RE: LS2J Error: Threw java.lang.classNotFoundException:
~Ned Cisfanasterakol 30.Jul.03 02:20 PM a Web browser
Applications Development 6.0.2 CF1 All Platforms


Here is my class:

import lotus.domino.*;
import java.util.Vector;
import com.ibm.bluepages.*;


public class BlueJava extends AgentBase { //Begin Main Class
String PAR="Test me";
String SN = "Zorrilla";
public void NotesMain() { //Begin Notes Main method

try { //Begin the try method
Vector SponsorName, SponsorEMailAddress, SponsorPhone, SponsorFax, SponsorTitle;
int SponIndex;

System.out.println(SN +" testing me");
BPResults rsa = BluePages.getPersonsByName(SN);
Vector nameColumn1 = rsa.getColumn("NAME");
if (nameColumn1.isEmpty()) { //Begin if to check for a return from bluepages
System.out.println("The name you typed in the Sponsor Name field is invalid please re-enter it. ");
// System.exit(1);
} //End if to check for a return from bluepages

//if there is a correctly entered Sponsor Name in the Sponsor field set the following fields to null
System.out.println("Replacing values with null");

// if (SponIndex > 0) { //Begin if there is an Sponsor Name in the Sponsor field
BPResults rs = BluePages.getPersonsByName(SN);
Vector nameColumn = rs.getColumn("NAME");
Vector faxColumn=rs.getColumn("fax");
Vector TitleColumn=rs.getColumn("Title");
Vector internetColumn=rs.getColumn("internet");
Vector xphoneColumn=rs.getColumn("xphone");
// } // End if there is an SponsorName in the Sponsor field

} //End Try method
catch(Exception e) {
e.printStackTrace();
}
} //End Notes Main method
} //End main Class




LS2J Error: Threw java.lang.classNo... (~Ned Cisfanaste... 28.Jul.03)
. . RE: LS2J Error: Threw java.lang.cla... (~Tanita Quetfre... 29.Jul.03)
. . . . RE: LS2J Error: Threw java.lang.cla... (~Ned Cisfanaste... 29.Jul.03)
. . . . . . RE: LS2J Error: Threw java.lang.cla... (~Tanita Quetfre... 30.Jul.03)
. . . . . . . . RE: LS2J Error: Threw java.lang.cla... (~Ned Cisfanaste... 30.Jul.03)
. . . . . . . . . . RE: LS2J Error: Threw java.lang.cla... (~Tanita Quetfre... 31.Jul.03)
. . . . . . . . . . . . RE: LS2J Error: Threw java.lang.cla... (~Ned Cisfanaste... 31.Jul.03)
. . . . . . . . . . . . . . RE: LS2J Error: Threw java.lang.cla... (~Tanita Quetfre... 1.Aug.03)
. . RE: LS2J Error: Threw java.lang.cla... (~Keiko Cisfoote... 22.Oct.03)


Document Options






  Document options
Print this pagePrint this page

Search this forum

Forum views and search


  Forum views and search
Date (threaded)
Date (flat)
With excerpt
Category
Platform
Release
Advanced search

Member Tools


RSS Feeds

 RSS feedsRSS
All forum posts RSS
All main topics RSS